package com.woniuxy.microsysserver.service.impl;
import com.woniuxy.microsysserver.dao.FortuneCarDao;
import com.woniuxy.microsysserver.dao.NavigationDao;
import com.woniuxy.microsysserver.entity.FortuneCarEntity;
import com.woniuxy.microsysserver.entity.NavigationEntity;
import com.woniuxy.microsysserver.service.FortuneCarService;
import com.woniuxy.microsysserver.service.NavigationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Auther: wuson  <br/>
 * Date: 2021/3/11:19:51  <br/>
 * Description:
 */
@Service
public class FortuneCarServiceImpl implements FortuneCarService {
    @Autowired(required = false)
    private FortuneCarDao fortuneCarDao;

    //获取所有
    @Override
    public List<FortuneCarEntity> selectAll() {
        List<FortuneCarEntity> fortuneCarEntities = fortuneCarDao.selectAll();
        return fortuneCarEntities;
    }
}
